package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name     string `gorm:"type:varchar(20);not null;comment:'用户名'"`
	Password string `gorm:"type:varchar(32);not null;comment:'密码'"`
	Goods    string `gorm:"type:varchar(30);not null;comment:'购买的商品'"`
}
